using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class InventoryManager : Singleton<InventoryManager>
{
	public ItemDataList_SO itemData;
	private List<ItemName> itemList = new List<ItemName>();
	public void AddItem(ItemName itemName)
	{
		itemList.Add(itemName);
		EventHandler.CallUpdateUIEvent(itemData.GetItemDetails(itemName), itemList.Count - 1);
	}
}